<!--首页新闻-->
<div bindonce class="ion-scroll-news">
  <div class="newsBoxStyle" ng-repeat="homeNew in homeNewsData" ng-if="homeNewsData">
    <ion-list>
      <ion-item class="newsBarTitle">
        <span>|  </span><span bindonce bo-text="homeNew.column_name"></span>
        <span ng-if="moreShow" ui-sref="root.more" ng-click="moreId(homeNew.column_id)">更多</span>
      </ion-item>
      <div ng-repeat="homeNewsBar in homeNew.articles">
        <ion-item ui-sref="root.mainText" ng-click="setId(homeNewsBar.id)"  bo-if="!homeNewsBar.is_adv">
          <h2 class="homeNewTitle" bo-text="homeNewsBar.title"></h2>
          <p class="homeNewAuthor">
            <span bo-if="homeNewsBar.origin">来源：<span bindonce bo-text="homeNewsBar.origin"></span>&nbsp;</span>
            <span bo-if="homeNewsBar.author">作者：<span bindonce bo-text="homeNewsBar.author"></span>&nbsp;</span>
            <span bo-if="homeNewsBar.created_at" bo-text="homeNewsBar.created_at"></span>
          </p>
          <ion-option-button class="button-positive" ng-click="collection(homeNewsBar.id)">
            收藏
          </ion-option-button>
        </ion-item>
        <ion-item bo-if="homeNewsBar.is_adv" class="adv">
          <a bo-href-i="{{homeNewsBar.url | trustUrl}}" target="_blank">
            <img bo-src="homeNewsBar.thumbnail_url | trustUrl" draggable="false">
          </a>
        </ion-item>
      </div>
    </ion-list>
  </div>
</div>
